// 表单字段基础接口
export interface BaseFormField {
  label: string
  prop: string
  type: string
  options?: Array<{ label: string; value: any }>
  hidden?: boolean
}

// 数据库表单配置接口
export interface DatabaseFormConfig {
    basicFields: BaseFormField[]
    authFields: BaseFormField[]
    advancedFields: BaseFormField[]
    defaultValues: Record<string, any>
  }
  
  // 数据库连接配置接口
  export interface DatabaseConnection {
    type: string
    name: string
    config: FormData
  }


// 数据连接类型卡片接口【ConnSelection.vue】
export interface Database {
    type: string;
    name: string;
    logo: string;
    disabled: boolean;
  }

  